<?php
ob_start();

require ('../config.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title><?php echo NAME ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="author" content="pogadl.sk" />
    <meta name="description" content="Webová stránka Základnej školy Školská v Handlovej, prezentačná stránka, aktuality a novinky" />
    <meta name="robots" content="index, follow" />
    <meta name="keywords" content="Základná škola Školská Handlová, ZŠ Školská, ZŠ juh, Aktuality, Žiacka knižka " />
    <script type="text/javascript">
      var root = "<?php echo HTDOCS ?>";
    </script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/jquery.min.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/jqueryui/js/jquery-ui-1.8.21.custom.min.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/functions.js"></script> 
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/article_handler.js?v=<?php echo CACHE_VERSION ?>"></script> 
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/navigation_handler.js?v=<?php echo CACHE_VERSION ?>"></script> 
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/tiny_mce/tiny_mce.js?v=<?php echo CACHE_VERSION ?>"></script>

    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/external/jquery.easing.1.3.min.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/external/jquery.mousewheel.min.js"></script>

    <!-- Slider Kit scripts -->
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/sliderkit/jquery.sliderkit.1.9.2.pack.js"></script>		
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/sliderkit/addons/sliderkit.delaycaptions.1.1.pack.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/sliderkit/addons/sliderkit.counter.1.0.pack.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/sliderkit/addons/sliderkit.timer.1.0.pack.js"></script>
    <script type="text/javascript" src="<?php echo HTDOCS ?>js/sliderkit/lib/js/sliderkit/addons/sliderkit.imagefx.1.0.pack.js"></script>

    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>css/style.css?v=<?php echo CACHE_VERSION ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>css/debug.css?v=<?php echo CACHE_VERSION ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>css/errors.css?v=<?php echo CACHE_VERSION ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>css/404.css?v=<?php echo CACHE_VERSION ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/jqueryui/css/smoothness/jquery-ui-1.8.21.custom.css" />

    <!-- Slider Kit styles -->
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/sliderkit/lib/css/sliderkit-core.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/sliderkit/lib/css/sliderkit-demos.css" media="screen, projection" />
    
    <link rel="stylesheet" type="text/css" href="<?php echo WWW ?>css/article.css" />

    <!-- Slider Kit compatibility -->
    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/sliderkit/lib/css/sliderkit-demos-ie6.css" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/sliderkit/lib/css/sliderkit-demos-ie7.css" /><![endif]-->
    <!--[if IE 8]><link rel="stylesheet" type="text/css" href="<?php echo HTDOCS ?>js/sliderkit/lib/css/sliderkit-demos-ie8.css" /><![endif]-->
  </head>

  <body>
    <?php
    $error = base_obj::getModule(ERROR_LAYOUT_ID);

    if (!empty($error)) {
      echo $error;
    } else {
      ?>

      <div id="index">

        <?php echo base_obj::getModule(81); ?> <!-- header -->

        <div id="container">

          <?php echo base_obj::getModule(821); ?> <!-- presenter -->

          <div id="content">
            <div id="content-left">
              <?php echo base_obj::getModule(841); ?> <!-- left content -->
              <?php echo base_obj::getModule(842); ?> <!-- left content -->
              <?php echo base_obj::getModule(843); ?> <!-- left content -->
            </div>
            <div id="content-right">
              <?php echo base_obj::getModule(851); ?> <!-- right content -->
              <?php echo base_obj::getModule(8511); ?> <!-- right content -->
              <?php echo base_obj::getModule(852); ?> <!-- right content -->
              <?php echo base_obj::getModule(853); ?> <!-- right content -->
            </div>
            <div class="clear"></div>
          </div>

        </div>

        <?php echo base_obj::getModule(86); ?> <!-- header -->

      </div>

      <?php
    }
    ?>


    <?php
    if (isset($_SESSION['debug_mode']) && ($_SESSION['debug_mode'])) {
      base_obj::showDebug();
    }
    ?>

  </body>

</html>

<?php
ob_flush();
?>